Completed
Push — master ( 27b20f...cb95fb )
by greg
49s
created

locale.js ➔ describe(ꞌlocaleꞌ)   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 13

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
cc 1
c 1
b 0
f 0
nc 1
nop 0
dl 0
loc 13
rs 9.4285

1 Function

Rating   Name   Duplication   Size   Complexity  
A locale.js ➔ ... ➔ it(ꞌlocaleꞌ) 0 5 1
1
var chai = require('chai');
2
var path = require('path');
3
4
var config = require('../src/cli').config
5
config.set({root: path.join(__dirname, 'fixtures')})
6
7
import locale from '../src/server/helpers/abe-locale'
8
9
describe('locale', function() {
10
11
  /**
12
   * locale
13
   * 
14
   */
15
  it('locale', function() {
16
    chai.expect(locale).to.have.property('word')
17
    chai.expect(locale.word).to.be.a('string')
18
    chai.expect(locale.word).to.equal('a word')
19
  });
20
21
});
22